import _Fetch from '@/server/Fetch'
import { API_POST_CONSULTING_LIST } from '@/api/consulting/get_consulting_data'
import { API_POST_MY_TOGGLE_LICK } from '@/api/user/getMyCollect'

export async function get_consulting_data() {
  return await _Fetch(API_POST_CONSULTING_LIST)
}

export async function isLike_api(id: number, type: number) {
  return await _Fetch(API_POST_MY_TOGGLE_LICK, { id, type })
}
